package test7;

import java.util.Arrays;
import java.util.Scanner;

public class test {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        Integer n=Integer.parseInt(sc.next());
        int[] in=new int[n];
        for(int i=0;i<n;i++){
          try {
              Scanner sc1=new Scanner(System.in);
              String str=sc1.next();
              Integer in1=Integer.parseInt(str);
              in[i]=in1;
          }catch (Exception e){
              System.out.println(e);
              Scanner sc1=new Scanner(System.in);
              String str=sc1.next();
              Integer in1=Integer.parseInt(str);
              in[i]=in1;
          }
        }
        System.out.println(Arrays.toString(in));
    }
}
